<%
    String pag = request.getParameter("page");
    String w = request.getParameter("where");
    if (w == null || pag == null) {
%><jsp:include flush="true" page="error.jsp"></jsp:include><%        } else {
    String p = pag+"/"+w + ".jsp";
%><jsp:include flush="true" page="<%=p%>"></jsp:include><%
    }
%>